]> dgit.raspbian.org Git - gnome-shell.git/commit
st: Make BoxLayout use a Clutter layout manager internally
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 2 Jul 2013 19:47:44 +0000 (21:47 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 20 Aug 2013 06:06:30 +0000 (08:06 +0200)
commitaa394754b6d78e682f99d3aff7f170bea04b0a8a
treeb0c6f5b247c3e11e863b1f1438ee9ba047f3c649
parent492f8f58bbd8a2c0941eadb7eda3ed658850f4d5
st: Make BoxLayout use a Clutter layout manager internally

With the BoxLayout containers in St and Mx and the ClutterBoxLayout
manager, we now have three more or less diverged implementations of
the same layout policy.

While removing StBoxLayout entirely in favor of ClutterLayoutManager
would be the fashionable thing to do, there are obvious drawbacks:

 - it is the only actor we have that implements the scrollable interface
 - it conveniently exposes its spacing property in CSS
 - last but not least, it is used all over the place

So do the next best thing and make our implementation use the
Clutter layout manager internally - that way, the change is
transparent to users, while we get to refer most of the tricky
bits to Clutter. win-win!

https://bugzilla.gnome.org/show_bug.cgi?id=703810
src/st/st-box-layout.c